package com.dongdongshop.service;

import com.dongdongshop.model.TbGoods;
import com.dongdongshop.model.TbItem;
import com.dongdongshop.vo.GoodsDescVo;
import com.dongdongshop.vo.GoodsVo;
import com.dongdongshop.vo.ItemVo;

import java.util.List;

public interface GoodsService {
    void add(GoodsVo goodsVo);
    List<GoodsVo> getAll();

    int deleteBatch(Long[] ids);

    void updateAuditStatus(List<Long> ids, String status);

    GoodsVo getGoodsDetail(Long goodsId);

    ItemVo getItem(Long itemId);


//    GoodsVo getOne(Long id);
}
